package com.kgc.community.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Cost {
    private Integer id;

    private Integer typeId;

    private Long cost;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date paymentTime;

    private Integer userId;

    private String describes;

    private Integer typecout;

    private Integer roomid;

    private Rooms rooms;

    private CostCount costCount;

    public CostCount getCostCount() {
        return costCount;
    }

    public void setCostCount(CostCount costCount) {
        this.costCount = costCount;
    }

    public Rooms getRooms() {
        return rooms;
    }

    public void setRooms(Rooms rooms) {
        this.rooms = rooms;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Long getCost() {
        return cost;
    }

    public void setCost(Long cost) {
        this.cost = cost;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes == null ? null : describes.trim();
    }

    public Integer getTypecout() {
        return typecout;
    }

    public void setTypecout(Integer typecout) {
        this.typecout = typecout;
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }
}